home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.cin.gov.au!usenet
- From: Christopher Walkden <christow@cin.gov.au>
- Newsgroups: comp.lang.c++
- Subject: Dereferencing ptrs to ptrs
- Date: 15 Jan 1996 05:51:12 GMT
- Organization: Community Information Network
- Message-ID: <4dcq0g$k17@canb.cin.gov.au>
- NNTP-Posting-Host: longl.tas.cin.gov.au
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Windows; I; 32bit)
-
- How do you dereference a pointer pointer?
-
- TDecoratedFrame **frame;
-
- Value = *(frame)->Attr.X;
- didn't work, so I had to create a dummy.
-
- TDecoratedFrame *dummy = *frame;
- Value = dummy->Attr.X;
-
- Is there a more elegant way?
-
- I may miss a posting, so please mail me as well (or instead).
-
- Thanks,
- Christopher Walkden.
-
-